﻿using System.Web.Services.Protocols;
using Nomad.WebSync.Extensions;

namespace Nomad.WebSync.Service {
    public class WebSyncHeader: SoapHeader {
        public string Session { get; set; }

        public WebSyncHeader(): base() {
            this.Session = null;
        }

        internal string Username {
            get {
                return this.Session.Decrypt();
            }
        }       
    }
}
